<%@tag pageEncoding="utf-8" import="java.util.List" %>
<%@attribute name="bgColor"%>
<%@attribute name="cellColor"%>
<%@attribute name="title"%>

<table border="1" bgcolor="${bgColor}">
    <tr>
        <td><b>${title}</b></td>
    </tr>
    <%
        List<Object> list = (List<Object>)request.getAttribute("list");
        for(Object obj : list){
    %>
    <tr>
        <td bgcolor="${cellColor}"><%=obj%></td>
    </tr>
    <%
        }
    %>
</table>
